package tv.acgn.advertisement.search.exception;

import tv.acgn.advertisement.servicebase.enumconst.ExceptionLevel;

/**
 * @author : junG
 * @program : advertisement-ad-search-exception
 * @description : 索引不支持更新异常
 * @date : 2019-07-14 19:16
 **/

public class IndexUpdateUnSupportException extends AbstractAdSearchException {
    public IndexUpdateUnSupportException(Object indexIO) {
        super(indexIO.getClass() + "索引不支持更新");

        this.setLevel(ExceptionLevel.ADVISE.getLevel());

        this.setErrorCode("AdSearch.Index.Update.UnSupport");

        this.setExtendInfo(indexIO.getClass() + "索引不支持更新");
    }
}
